﻿using FluentNHibernate.Mapping;

namespace ControleRepresentante.Logic.Models.Maps
{
    public abstract class MapBase<T> : ClassMap<T>
        where T : ModelBase
    {
        protected MapBase()
        {
            Id(x => x.Id)
                .GeneratedBy.Assigned();
        }
    }
}